 <!DOCTYPE html>
<html xmlns:v-bind="http://www.w3.org/1999/xhtml" xmlns:v-on="http://www.w3.org/1999/xhtml"
      xmlns:v-bin="http://www.w3.org/1999/xhtml">

<head>
    <meta content="text/html;charset = utf-8" http-equiv="content-type">
    <meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0, user-scalable=0">
    <link href="../lib/AmazeUI-2.4.2/assets/css/amazeui.css" rel="stylesheet" type="text/css"/>
    <link href="../lib/AmazeUI-2.4.2/assets/css/admin.css" rel="stylesheet" type="text/css"/>

    <link href="../home/css/personal.css" rel="stylesheet" type="text/css">
    <link href="../home/css/infstyle.css" rel="stylesheet" type="text/css">
    <script type="text/javascript" src="../lib/jquery/jquery.min.js"></script>
    <script src="../lib/AmazeUI-2.4.2/assets/js/amazeui.js" type="text/javascript"></script>
    <script src="../lib/vue/2.4.2/vue.min.js"></script>
    <link rel="stylesheet" type="text/css" href="../lib/elementui/1.4.3/theme-default/index.css">
    <script src="../home/js/vue.min.js"></script>
    <script src="../lib/elementui/1.4.3/index.js"></script>

</head>

<body>
<div id="purchaseAndOrdersdetailResultVaidation">
    <div class="center" style="margin-top: -10px">
        <div class="col-main">
            <div class="main-wrap">
                <div class="user-info">
                    <!--标题 -->
                    <div align="center"><span style="font-size: 24px;color: #409EFF">采购单项目主单详情</span></div>
                    <div>
                        <div align="right" v-if="dialogFormDtils === false">
                            <el-button @click="dialogFormDtils = true">展开清单</el-button>
                        </div><div align="right" v-if="dialogFormDtils === true">
                       <el-button @click="dialogFormDtils = false">隐藏清单</el-button></div>
                    </div>
                    </br></br>
                    <el-form ref="form" :model="urchaseAndOrdersdetail" label-width="80px" size="mini">

                        <el-row :gutter="20">
                            <el-col :span="8">
                                <el-form-item label="采购单位名称">
                                    <el-input v-model="urchaseAndOrdersdetail.company_name"  :disabled="true"  ></el-input>
                                </el-form-item>
                            </el-col>
                            <el-col :span="8">
                                <el-form-item label="联系人">
                                    <el-input v-model="urchaseAndOrdersdetail.lxr"  :disabled="true"  ></el-input>
                                </el-form-item>
                            </el-col>
                            <el-col :span="8">
                                <el-form-item label="联系电话">
                                    <el-input v-model="urchaseAndOrdersdetail.phone"  :disabled="true" ></el-input>
                                </el-form-item>
                            </el-col>
                        </el-row>



                        <el-row :gutter="20">
                            <el-col :span="8">
                                <el-form-item label="项目名称">
                                    <el-input v-model="urchaseAndOrdersdetail.entry_name"  :disabled="true"  ></el-input>
                                </el-form-item>
                            </el-col>
                            <el-col :span="8">
                                <el-form-item label="采购预算">
                                    <el-input v-model="urchaseAndOrdersdetail.bhdget_amount"   :disabled="true"  ></el-input>
                                </el-form-item>
                            </el-col>
                            <el-col :span="8">
                                <el-form-item label="采购类别">
                                    <el-select v-model="urchaseAndOrdersdetail.category" placeholder="请选择采购类别"  :disabled="true"  >
                                        <el-option label="货物" value="货物"></el-option>
                                        <el-option label="工程" value="工程"></el-option>
                                        <el-option label="服务" value="服务"></el-option>
                                    </el-select>
                                </el-form-item>
                            </el-col>
                        </el-row>

                        <el-row :gutter="20">
                            <el-col :span="8">
                                <el-form-item label="财政拨款（补助）收入">
                                    <el-input v-model="urchaseAndOrdersdetail.czbksr"   :disabled="true"  ></el-input>
                                </el-form-item>
                            </el-col>
                            <el-col :span="8">
                                <el-form-item label="纳入预算管理的行政事业性收费">
                                    <el-input v-model="urchaseAndOrdersdetail.ysxzsysf"   :disabled="true"  ></el-input>
                                </el-form-item>
                            </el-col>
                            <el-col :span="8">
                                <el-form-item label="纳入预算管理的政府性基金">
                                    <el-input v-model="urchaseAndOrdersdetail.yszfxjj"   :disabled="true" ></el-input>
                                </el-form-item>
                            </el-col>
                        </el-row>


                        <el-row :gutter="20">
                            <el-col :span="8">
                                <el-form-item label="纳入预算管理的其他政府非税收入">
                                    <el-input v-model="urchaseAndOrdersdetail.ysqtzffssr"   :disabled="true" ></el-input>
                                </el-form-item>
                            </el-col>
                            <el-col :span="8">
                                <el-form-item label="纳入财政专户管理的政府非税收入">
                                    <el-input v-model="urchaseAndOrdersdetail.czzhggfsssr"  :disabled="true"  ></el-input>
                                </el-form-item>
                            </el-col>
                            <el-col :span="8">
                                <el-form-item label="上级财政转移支付">
                                    <el-input v-model="urchaseAndOrdersdetail.sjczzyzf"  :disabled="true"   ></el-input>
                                </el-form-item>
                            </el-col>
                        </el-row>


                        <el-row :gutter="20">
                            <el-col :span="8">
                                <el-form-item label="事业收入">
                                    <el-input v-model="urchaseAndOrdersdetail.sysr"  :disabled="true"  ></el-input>
                                </el-form-item>
                            </el-col>
                            <el-col :span="8">
                                <el-form-item label="经营收入">
                                    <el-input v-model="urchaseAndOrdersdetail.yysr"   :disabled="true" ></el-input>
                                </el-form-item>
                            </el-col>
                            <el-col :span="8">
                                <el-form-item label="上级补助收入">
                                    <el-input v-model="urchaseAndOrdersdetail.sjbzsr"   :disabled="true" ></el-input>
                                </el-form-item>
                            </el-col>
                        </el-row>

                        <el-row :gutter="20">
                            <el-col :span="8">
                                <el-form-item label="附属单位上缴收入">
                                    <el-input v-model="urchaseAndOrdersdetail.fsdwsjsr"  :disabled="true" ></el-input>
                                </el-form-item>
                            </el-col>
                            <el-col :span="8">
                                <el-form-item label="其他收入">
                                    <el-input v-model="urchaseAndOrdersdetail.qtsr"   :disabled="true" ></el-input>
                                </el-form-item>
                            </el-col>
                            <el-col :span="8">
                                <el-form-item label="年初预算合计">
                                    <el-input v-model="urchaseAndOrdersdetail.total" :disabled="true"></el-input>
                                </el-form-item>
                            </el-col>
                        </el-row>
                        <el-row :gutter="20">
                            <el-col :span="24"><el-form-item label="采购单位意见">
                                <el-input  type="textarea"  :autosize="{ minRows: 3, maxRows: 8}"  placeholder="请输入内容" v-model="urchaseAndOrdersdetail.cgdwyj" :disabled="true" ></el-input>
                            </el-form-item>
                            </el-col>
                        </el-row>
                            <el-row :gutter="20">
                                <el-col :span="8">
                                    <el-form-item label="采购组织形式">
                                        <el-select v-model="urchaseAndOrdersdetail.cgxs" placeholder="请选择采购组织形式" :disabled="true">
                                            <el-option label="政府集中采购" value="政府集中采购"></el-option>
                                            <el-option label="部门集中采购" value="部门集中采购"></el-option>
                                            <el-option label="分散采购" value="分散采购"></el-option>
                                        </el-select>
                                    </el-form-item>
                                </el-col>
                                <el-col :span="8">
                                    <el-form-item label="委托代理机构">
                                        <el-select v-model="urchaseAndOrdersdetail.wtdljg" placeholder="请选择委托代理机构" :disabled="true">
                                            <el-option label="政府集中采购机构" value="政府集中采购机构"></el-option>
                                            <el-option label="社会代理机构" value="社会代理机构"></el-option>
                                        </el-select>
                                    </el-form-item>
                                </el-col>
                                <el-col :span="8">
                                    <el-form-item label="政府采购方式">
                                        <el-select v-model="urchaseAndOrdersdetail.zfcgfs" placeholder="请选择委托代理机构" :disabled="true">
                                            <el-option label="公开招标" value="公开招标"></el-option>
                                            <el-option label="邀请招标" value="邀请招标"></el-option>
                                            <el-option label="竞争性谈判" value="竞争性谈判"></el-option>
                                            <el-option label="询价" value="询价"></el-option>
                                            <el-option label="单一来源" value="单一来源"></el-option>
                                            <el-option label="竞争性磋商" value="竞争性磋商"></el-option>
                                            <el-option label="协议供货" value="协议供货"></el-option>
                                            <el-option label="定点采购" value="定点采购"></el-option>
                                        </el-select>
                                    </el-form-item>
                                </el-col>
                            </el-row>
                            <el-row :gutter="20">
                                <el-col :span="24"><el-form-item label="市政府采购办公室意见">
                                    <el-input   type="textarea"  :autosize="{ minRows: 3, maxRows: 8}"  placeholder="请输入内容" v-model="urchaseAndOrdersdetail.szfcgbgsyj" :disabled="true"></el-input>
                                </el-form-item>
                                </el-col>
                            </el-row>
                    </el-form>

                    <el-dialog title="采购单清单" :visible.sync="dialogFormDtils">
                        <div style="width:90%" align="left">
                            <table align="right"
                                   class="am-table am-table-bordered am-table-radius am-table-striped am-table-striped am-table-hover">
                                <thead>
                                <tr>
                                    <th style="text-align:center;">品牌</th>
                                    <th style="text-align:center;">型号</th>
                                    <th style="text-align:center;">数量</th>
                                    <th style="text-align:center;">单价</th>
                                    <th style="text-align:center;">总价</th>
                                    <th style="text-align:center;">供应商</th>
                                    <th style="text-align:center;">购买方式</th>
                                    <th style="text-align:center;"><a v-on:click="selectDetail">操作(点击此处更新清单)</a></th>
                                </tr>
                                </thead>
                                <tbody>
                                <tr v-for="shopData in ordersDetails">
                                    <td>
                                        {{shopData.brand}}
                                    </td>
                                    <td>
                                        {{shopData.ggxh}}
                                    </td>
                                    <td>
                                        {{shopData.num}}
                                    </td>
                                    <td>
                                        {{shopData.dj}}
                                    </td>
                                    <td>
                                        {{shopData.total}}
                                    </td>
                                    <td>
                                        {{shopData.company_name}}
                                    </td>
                                    <td>
                                        {{shopData.gmfs}}
                                    </td>
                                    <td style="align-content: center">
                                    <span v-if="shopData.resultvalidationpath==='001'" style="align-content: center">
                                        <button type="button" class="am-btn am-btn-secondary  am-radius" v-on:click="createEnterbooks(shopData)">生成确认报告</button>
                                    </span>
                                        <span v-else>
                                            <a v-bind:href="shopData.resultvalidationpath">下载</a>
                                    </span>
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                        </div>

                    </el-dialog>
                </div>
            </div>
            <!--底部-->
        </div>
    </div>
</div>
<script src="../charge/purchaseAndOrdersdetailResultVaidation.js"></script>
</body>


</html>

